<div class="container d-gao-50 {if $_GET['s'] == 'quan' && $_GET['id'] > 0} d-yincang {/if}">
</div>
<div class="d-container navbar-fixed-top" >
	<div class="d-row " >
    	<div class="col-md-6 col-md-offset-3" style="background-color: #dc7374">
			<div class="d-yuanjiao-bianhua-10-10 d-kuan d-beijing-baise d-bianhua-20 " style="background-color: #dc7374">
				<!--圈子头部-->
				<div class="row">
					<!--返回-->
					<div class="d-div-zou  "> 
					    <a href="javascript:goBack();">
					        <img class="d-yuanjiao-20 pull-left" src="{HOME_THEME_PATH}quan/img/fanhui.svg" height="20"/>
						</a>
						<a href="{CLIENT_URL}" >
						    <img class="pull-right" src="{HOME_THEME_PATH}quan/img/shouye3.png" height="20"/> 
						</a>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

<div class="d-container">
	<div class="d-row">
	    <div class="col-md-6 col-md-offset-3"  >
			<div class="row">
				<div class="d-yuanjiao-bianhua-10-10 d-kuan d-beijing-baise d-bianhua-20 ">
					
					<!--标题-->
					<div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-26 d-xia-20 d-buhuanhang">
						
						<div class="d-zuo-10">{$title}</div>
					</div>
					<!--头部-->
					<!--圈子导航-->
					
					<div class="d-kuan d-buhuanhang  d-xia-20">
						<!--头部-->
						<div class="d-yuanjiao-10 d-quxian-0">
							<a href="{d_huiyuan_url($uid)}">
								<img src="{dr_avatar($uid)}" width="40" height="40" class="d-yuanjiao-50"/>
							</a>
						</div>
						<div class="d-zuo-10 d-kuan">
							<div class="d-jiacu d-buhuanhang">
								<div class="d-jiacu d-quxian-0">
									<a href="{d_huiyuan_url($uid)}">
									{php $userweixin=\Phpcmf\Service::M()->db->table('member_oauth')->where('uid', $uid)->get()->getRowArray();}
									{php $user=dr_member_info($uid);}
										{if $userweixin.nickname}
											{$userweixin.nickname}
										{elseif $user.name}
											{$user.name}
										{else}
											{$user.username}
										{/if}
									</a>
								</div>
								<div class="d-zuo-10"><img src="{HOME_THEME_PATH}quan/img/dengji1.png" width="60" height="15" class="d-yuanjiao-50"/></div>
							</div>
							<div class="d-zitiyanse-hui ">
								{php $user=dr_member_info($uid);}
								{loop $user.group $tt}
								    {$tt.group_name}
								{/loop}
								. <i class="fa fa-heart-o d-zuo-10"></i><span class="d-zuo-10">{dr_show_hits($id)} 时间: {dr_fdate($_updatetime)}</span>
							</div>
						</div>
						<div class="d-kuan-130">
							<div class="d-zitiyanse-hui d-zuo-10 d-div-you d-buhuanhang">
							    
							</div>
							
						</div>
					</div>
					<div class="d-kuan d-img-100 d-wenzi-16 d-img">
						
						<div class="d-kuan ">

							
							
							<div class="d-clear"></div>
						</div>
						
						
						<div class="d-huanhang d-neirong" style="">
							{htmlspecialchars_decode($content)}
							
						</div>
						
						<span class="question-category d-quxian-0 d-wenzi-12"><a href="{$cat.url}" class="d-zitiyanse-hui"><i class="fa fa-folder"></i> {$cat.name}</a></span>
					</div>
					<!---->
					<!--尾部评论-->
					
					<div class="d-clear"></div>
					<div id="commentlist" class="page-content d-beijing-baise">
					    <!--div class="boxedtitle page-title d-zuo-20">回帖 ( <span class="color">{$comments}</span> )</div-->
					
					
					    <ol class="commentlist clearfix" id="dr_module_comment_{$id}">
					
					        {php $ajax_pages=$comment_pages;}
					        {php $list=$comment_list;}
					        {template "comment_ajax.html"}
					
					    </ol>
						{if $is_comment != 1}
						
						
						<form action="" method="post" id="myform_comment" class="comment-form ">
						    {dr_form_hidden()}
						    <input type="hidden" name="is_ajax" value="1">
						    <input type="hidden" name="catid" value="{$catid}">
						    <div id="respond-textarea">
						        <?php echo dr_field_form([
						          'name' => '内容',
						        'ismain' => 1,
						        'fieldtype' => 'Ueditor',
						        'fieldname' => 'content',
						        'setting' => array('option' => array( 'mode' => 3, 'height' => 150, 'width' => '100%', 'tool' => IS_PC ? '\'undo\', \'bold\', \'forecolor\',\'simpleupload\', \'attachment\', \'insertimage\', \'insertcode\'' : '\'undo\', \'bold\', \'image\''), 'validate' => array('xss' => 1))
						        ]);
						        ?>
						    </div>
						    <p class="d-zuo-10 form-submit" style="margin-top: 10px;">
						        <button class="color button dark_button medium" id="comment_submit" onclick="dr_bbs_comment()" type="button">回复帖子</button>
						    </p>
						</form>
						{/if}
					</div>
					
				</div>
			</div>
		</div>
		<div class="d-clear"></div>
	</div>
</div>
<script>
function dr_m_pinglun() {
	$('.d-pinglun-tanchu').show();
	$('.kaiguan').show();
}
function dr_m_pinglun2() {
	$('.d-pinglun-tanchu').hide();
	$('.kaiguan').hide();
}
</script>
<style>
	.d-henggun {
	
	    max-width: 100%;
	    overflow-x: hidden;
	    overflow-y: hidden;
	}
	tbody p {
	    margin: 5px 0;
	}
.d-pinglun-tanchu {
	display: block;

}
.kaiguan {
	display: none;
}
@media screen and (max-width: 700px) { /*当屏幕尺寸小于1200px时，应用下面的CSS样式*/
    body {
        height: 100%;
        background-color: #ffffff;
    }
	.d-henggun {
		max-width: 400px;
		overflow-x: scroll;
		overflow-y: hidden;
	}
	.d-henggun::-webkit-scrollbar {
	    width: 4px;
	    height: 1px;
	}
	.d-henggun::-webkit-scrollbar-thumb {
		border-radius: 10px;
		-webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
		opacity: 0.2;
		background: fade(@primary-color, 60%);
	}
	.d-henggun::-webkit-scrollbar-track {
		-webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
		border-radius: 0;
		background-color: #ffffff;
	}
	.d-pinglun-tanchu {
		background-color: #f3f4f7;
		position: fixed;
		height: 100%;
		width: 100%;
		overflow: auto;
		display: none;
		z-index: 2000;
		bottom: 0px;
	}
}
</style>
{template "fanhui.html"}